using System;
using System.Collections.Generic;
using System.Text;

using Weazel.Microblaze.Simulator.Engine;

namespace Weazel.Microblaze.Simulator.Components
{
    //public abstract class OpbPeripheral : Component, IMemorySegment
    //{
        //private Opb.Opb opb;
        //public Opb.Opb Opb
        //{
        //    get { return opb; }
        //    set { opb = value; }
        //}

        //private uint lowAddress;
        //public uint LowAddress
        //{
        //    get { return lowAddress; }
        //    set { lowAddress = value; }
        //}

        //private uint highAddress;
        //public uint HighAddress
        //{
        //    get { return highAddress; }
        //    set { highAddress = value; }
        //}


        //public abstract void Initialize(Simulator.Engine.SimulationContext simulator);
        //public abstract void BeginTransaction(Transaction transaction);
        //public abstract void Load(byte[] bytes, uint address);

        //public override void Run()
        //{
        //    opb.WaitForOperation(this);
        //}

        //public OpbPeripheral(Simulator.Engine.SimulationContext context)
        //    : base(context)
        //{
        //}
    //}
}
